package com.xuchen.zhenyang.entity.statistics;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 用户总消费
 * </p>
 *
 * @author xuchen
 * @since 2019-05-11
 */
@Data
public class StatisticsUserOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    /**
     * 总消费
     */
    private BigDecimal totalCost;
    /**
     * 总成本
     */
    private BigDecimal totalOriginal;
    /**
     * 总利润
     */
    private BigDecimal totalGain;
    private Date updateTime;
}
